package com.per.mybootall.service;

import org.json.JSONException;
import org.springframework.stereotype.Service;

import java.util.Map;

@Service("loginInter")
public interface LoginInter {

     Map<String, Object> login(String username, String password, String photomessahes, String uuid);

    Map<String,String> register(String username, String password,String photouuid,int yanzma);

    String nameisexist(String name);

    Map<String,String> getPhoto(String photo) throws JSONException;
}
